#pragma once


#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>



typedef struct ROUND_QUEUE_STRU
{
    bool (*IsEmpty)(struct ROUND_QUEUE_STRU *);
    bool (*IsFill)(struct ROUND_QUEUE_STRU *);
    int  (*Push)(struct ROUND_QUEUE_STRU *, uint8_t *, uint16_t);
    int  (*Pop)(struct ROUND_QUEUE_STRU *, uint8_t *, uint16_t);

    // 私有数据
    uint8_t *pHead, *pTail, *pWrite, *pRead;
    uint8_t *pQueBuf;
    bool bIsFill, bIsEmpty;

}ROUND_QUEUE;



